|
-
Apr 18th, 2019, 11:44 PM
#1
Re: Undefined function in query
Linq to sql might be easier in your situation...
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Apr 18th, 2019, 11:52 PM
#2
Thread Starter
Fanatic Member
Re: Undefined function in query
Right, I need the SQL to convert the GetAssetPrice() function into a decimal value: GetAssetPrice(20,#4/18/2019#,"ClosePrice") = 133.56
And do this for each row of data that the SQL returns.
I'm really stumped why this works in MS Access, but not in VB.Net...
-
Apr 18th, 2019, 11:56 PM
#3
Re: Undefined function in query
 Originally Posted by Mark@SF
Right, I need the SQL to convert the GetAssetPrice() function into a decimal value: GetAssetPrice(20,#4/18/2019#,"ClosePrice") = 133.56
And do this for each row of data that the SQL returns.
I'm really stumped why this works in MS Access, but not in VB.Net...
It works in Access because you're not concatenating a string in your query. Try the LINQ queries
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Apr 19th, 2019, 12:00 AM
#4
Thread Starter
Fanatic Member
Re: Undefined function in query
Ok, thanks. I've never worked with LINQ so I'll have to do some homework...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|