RoyHobbs99223
Posts: 37
|
Posted: 11/07/2012, 10:20 AM |
|
Can't seem to get DLookup to work. What am I doing wrong? 
I need to lookup an integer value from a table using the userid.
or said another way:
SELECT FieldName FROM TableName WHERE userid = userid (in session).
So I add a DLookup event with these settings:
Expression: FieldName
Domain: TableName
Criteria: "userid=".CCGetParam("userid","")
Conneciton: Connection1
Type of Target: Session
Target: SessionVarName
Help?
|
 |
 |
anthonyzz
Posts: 19
|
Posted: 10/11/2013, 2:27 AM |
|
share athis ASP.NET guide to help you find useful info, hope it helps,
http://www.keepautomation.com/how_to/aspnet/csharp_barcode.html
_________________
no more |
 |
 |
eratech
Posts: 513
|
Posted: 10/28/2013, 11:50 PM |
|
I don't think CCGetParam() works in ASP.NET as it's more for PHP and ASP classic, but it seems to be only for getting parameter values from GET and POST, not from the userid (in session).
I'm not using InMotion at moment so I can't confirm the exact code, but try something Session["userid"] or DBUtility.UserId.ToString() to get the User ID.
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |
 |
 |
rbaldwin
Posts: 172
|
Posted: 11/08/2013, 1:16 PM |
|
Don't know if it is still the case but,
at http://code.google.com/p/inmotion-framework/w/list
click on the issues link and it lists the one outstanding issue as dlookup
here's the direct link http://code.google.com/p/inmotion-framework/issues/list
|
 |
 |
eratech
Posts: 513
|
Posted: 11/08/2013, 8:47 PM |
|
Silly question - but the Filedname and Tablename are in quotes so the generated code will create the SQL string?
I've usually done the 'view code' to get the code, then copy-paste into MySQL etc and run it (carefully trimming out the quotes so I know the query is working)
E
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |
 |
 |
cindy313
Posts: 6
|
Posted: 11/12/2013, 8:36 PM |
|
Quote anthonyzz:
hey, i just used their asp.net guide to create barcodes http://www.keepautomation.com/guide/aspnet_barcode_generator.html
|
 |
 |
sherleywilson00
Posts: 1
|
Posted: 07/17/2014, 10:38 PM |
|
Quote anthonyzz:
share athis ASP.NET guide to help you find useful info, hope it helps,
Hey, thanks for sharing this! Now I'm testing another one, and I'm gonna compare these two and select one for my c# .net application and find barcodes in images.  http://www.pqscan.com/read-barcode/barcode-csharp.html
_________________
If you like life, don't waste time, for time is what life is made up of. - Brucee Lee
|
 |
 |
susannamoore
Posts:
|
Posted: 01/06/2015, 12:41 AM |
|
I've ever tried these barcode solutions: http://www.rasteredge.com/how-to/asp-net-imaging/barcode-generating/ http://www.rasteredge.com/dotnet-imaging/addon-barcode-generator/
|
 |
 |
calosteward
Posts: 5
|
Posted: 04/01/2015, 12:57 AM |
|
For asp.net or C# problem, you can find many resolution in codeproject,
for bar code issue, you can find guide here: http://www.keepdynamic.com/dotnet-barcode-aspnet/ http://www.keepdynamic.com/dotnet-barcode/
|
 |
 |
|