Newbie Question on Assigning Variables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to assign a value from a collection to a string variable called
‘vDocumentation’ when I execute the following code, I do not have any value
in vDocumentation. I can see a value from appRow.SystemDocumentation when I
assign it to a hyperlink Url property but I can’t seem to assign it to a
string variable. Any help would be appreciated.

Dim vDocumentation As String
Dim app As New ApplicationDP
Dim appRow As Application.tblApplicationRow

vDocumentation = appRow.SystemDocumentation
 
JackO said:
I am trying to assign a value from a collection to a string variable called
'vDocumentation' when I execute the following code, I do not have any
value
in vDocumentation. I can see a value from appRow.SystemDocumentation when
I
assign it to a hyperlink Url property but I can't seem to assign it to a
string variable. Any help would be appreciated.

Dim vDocumentation As String
Dim app As New ApplicationDP
Dim appRow As Application.tblApplicationRow

vDocumentation = appRow.SystemDocumentation
Just a shot in the dark, but it looks as if your appRow is an empty
reference?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top