The following getvalue function returns the contents of a specific table/record contents:
? Getvalue("ap2gldesc") = alltrim(code)+" ~ "+vno+" ~ "+po+" ~ "+vendor
If Trim(Getvalue("ap2gldesc")) <> "" Then
.Fields("gldesc").VALUE = Trim(Getvalue("ap2gldesc"))
End If
results in the gldesc field = alltrim(code)+" ~ "+vno+" ~ "+po+" ~ "+vendor NOT COOL!
With Foxpro: setup5 = "replace table.gldesc with Trim(Getvalue("ap2gldesc"))"
&setup5
Please help me do the same thing with VBA.
Thanks in advance.
Steve
? Getvalue("ap2gldesc") = alltrim(code)+" ~ "+vno+" ~ "+po+" ~ "+vendor
If Trim(Getvalue("ap2gldesc")) <> "" Then
.Fields("gldesc").VALUE = Trim(Getvalue("ap2gldesc"))
End If
results in the gldesc field = alltrim(code)+" ~ "+vno+" ~ "+po+" ~ "+vendor NOT COOL!
With Foxpro: setup5 = "replace table.gldesc with Trim(Getvalue("ap2gldesc"))"
&setup5
Please help me do the same thing with VBA.
Thanks in advance.
Steve