保存没有文本框的条形码数据 [英] Save barcode data without textbox

查看:145
本文介绍了保存没有文本框的条形码数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用条形码扫描仪读取产品的条形码,然后自动将其保存在数据库,代码和读取的日期-时间中,而无需人员或文本框的干预.

在一个仓库中,我有1000种产品及其相应的条形码,我用无线条形码扫描仪扫描所有产品,一个接一个地扫描,并且在读取数据时,我想保存数据,然后将数据发送到数据库.

我不知道我是否要自我解释.

关于

I want to read the barcode of a product with the barcode scanner and then save automatically in a database, the code, and the date - time of the reading, without the intervention of the people or a textbox.

In a warehouse, I have 1000 products with their corresponding barcodes, I wan with a wireless barcode scanner, scanning all products, one by one, and while I read it I want to save the data, send the data to the database.

I don''t know if I explain myself.

Regards

推荐答案

我们无法告诉您如何做到这一点.
最适合的条形码扫描仪将能够做到这一点-如果它们是无线的,它们通常会将数据发送回连接到PC的基站.
您需要与要使用的特定硬件的制造商联系,并找出从那时起数据发生了什么.他们应该获得技术支持,他们将能够为您提供帮助或为您提供相关文档.

非无线键盘伪装成一个额外的键盘,但可以配置为提供开始"和结束"序列,这样您就可以识别条形码数据而无需将其输入文本框.您选择的无线设备可能以类似的方式工作-但不能保证.制造商将是唯一可以告诉您的人.
We can''t tell you how to do that.
Most suitable barcode scanners will be able to do that - if they are wireless they generally send the data back to a base station which is attached to a PC.
You need to talk to the manufacturers of the specific hardware you are going to use, and find out what happens to the data from that point. They should have technical support who will be able to help, or point you at the relevant documentation.

Non-wireless ones pretend to be an extra keyboard, but can be configured to provide a Start and End sequence so you can recognise barcode data without it going into a text box. It''s likely that your chosen wireless one operates in a similar manner - but not guaranteed. The manufacturer will be the only person who can tell you.


让我猜猜您的解决方案是如何工作的:
1.使用扫描仪读取条形码.
2.将条形码结果显示到应用程序窗口的文本框中.
3.操作员检查并确认条形码结果,然后通过单击鼠标或键盘将数据插入数据库.

如何执行您的要求?使用将条形码结果插入数据库的代码跳过步骤2和3.

如果您知道如何在文本框中显示条形码结果,那么将条形码结果插入数据库应该不是问题.
Let me guess how your solution works:
1. Use the scanner to read barcodes.
2. Display the barcode results to the text box of an application Window.
3. Operators check and confirm the barcode results, and then insert data to the database by clicking mouse or keyboard.

How to implement your requirements? Skipping step 2 and 3 with the code of inserting barcode results to database.

If you know how to display barcode results in a textbox, it should not be a problem for you to insert barcode results to database.


这篇关于保存没有文本框的条形码数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆