[AccessD] Switchboard question

Erwin Craps Erwin.Craps at ithelps.be
Mon Oct 13 01:33:21 CDT 2003


Here it is Arthr.
 Case conCmdRunCode
 If Nz(rst!Options) <> "" Then
    If InStr(1, rst!Options, ",") Then
            varResult = Application.Run(rst![Argument],
Mid(Nz(rst!Options), 1, InStr(1, rst!Options, ",") - 1),
Mid(Nz(rst!Options), InStr(1, rst!Options, ",") + 1))
        Else
            varResult = Application.Run(rst![Argument], Nz(rst!Options))
    End If
    Else
        varResult = Application.Run(rst![Argument])
End If


-----Oorspronkelijk bericht-----
Van: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] Namens Arthur Fuller
Verzonden: zondag 12 oktober 2003 22:25
Aan: AccessD
Onderwerp: [AccessD] Switchboard question


When you call a function (that takes parameters) from the switchboard,
what's the correct syntax? I've tried:

myFunc "strParm", intParm
And 
myFunc( "StrParm", intParm )

Neither of which worked.

Normally I just write a sub and call it with no parms, but today I
decided to try something different and it isn't working as expected.

TIA,
Arthur

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.525 / Virus Database: 322 - Release Date: 10/9/2003
 


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list