Re: DLookup Challenge

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The OutputFile parameter of the OutputTo method requires a full path as a
string value, either as a full string path or a string variable represented
by the string path.

The thought was that if the full path was pulled from a table field, that it
to needed to be in the string format required by the parameter, preceded and
ended with a quote, "<some full path>"

Since that appears to no longer hold true, I guess in the future, I will
drop the quotes when using the DLookup function in the manner I used.
"Douglas J. Steele" wrote:

I can't think of any reason why you'd ever want to include preceding and
trailing quotes in a field's value.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"box2003" <box2003@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C1F51589-D396-4B4A-9F17-1818B46B5884@xxxxxxxxxxxxxxxx

It apparently is necessary to not include preceding and trailing quotes in
the table field when using the DLookup function.



.



Relevant Pages

  • Re: System.IO.Directory.Delete - access denied exception
    ... System.Console.WriteLine("is on.", username, host); ... at System.IO.Directory.DeleteHelper(String fullPath, String ...
    (microsoft.public.dotnet.csharp.general)
  • why does this happen?
    ... typedef struct ... test_t is a c structure but sontaing the STL string. ... So malloc is creating the memory but it does not initialize the string path ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Deleting folder
    ... Put spaces after "My" just as I did when I wrote the response, the space is a valid part of the string path and you are missing it. ... Don't attach the RD command to the end of the CD string, do it as a separate step. ... You want to be sure you are in the right directory (the "My Pictures" folder in your user profile) before you run the RD command, as the results are not reversible. ...
    (microsoft.public.windowsxp.newusers)
  • Re: has anyone seen this before?
    ... >> The following message may help in diagnosing the problem: The string ... Parameter name: configPath at ... >> webLevel, ConfigurationFileMap fileMap, String path, String site, ... >> TextBox userName, ListControl roles, CheckBox userRadio, CheckBox ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: has anyone seen this before?
    ... > The following message may help in diagnosing the problem: The string ... Parameter name: configPath at ... > webLevel, ConfigurationFileMap fileMap, String path, String site, ... > TextBox userName, ListControl roles, CheckBox userRadio, CheckBox ...
    (microsoft.public.dotnet.framework.aspnet)